package org.jeecg.modules.qyxx.service.impl;


import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import org.jeecg.modules.qyxx.entity.BgMxQsqk;
import org.jeecg.modules.qyxx.mapper.BgMxQsqkMapper;
import org.jeecg.modules.qyxx.service.IBgMxQsqkService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.github.jeffreyning.mybatisplus.service.MppServiceImpl;

/**
 * @Description: 欠税情况明细数据
 * @Author: ZJJ
 * @Date:   2021-06-11
 * @Version: V1.0
 */
// @DS("multi-datasource1")申报
@Service
public class BgMxQsqkServiceImpl extends MppServiceImpl<BgMxQsqkMapper, BgMxQsqk> implements IBgMxQsqkService {
    @Autowired
    private BgMxQsqkMapper bgMxQsqkMapper;

    @Override
    public Object mxQsqk(String djxh,String zsxm,String tjnd) {
        LambdaQueryWrapper<BgMxQsqk> wrapper = Wrappers.lambdaQuery(BgMxQsqk.class);
        wrapper.eq(BgMxQsqk::getDjxh,djxh).eq(BgMxQsqk::getZsxm,zsxm).eq(BgMxQsqk::getTjnd,tjnd);
        return bgMxQsqkMapper.selectList(wrapper);
    }
}
